var g_gameDataManager = require("g_gameDataManager");
cc.Class({
    extends: cc.Component,

    properties: {
        gameBoard:require('BoardNet'),
        minesLabel:cc.Label
    },

    // use this for initialization
    onLoad: function () {

    },


    start: function () {
        this.updateMinesNum();
    },

    updateMinesNum:function()
    {
        this.minesLabel.string = this.gameBoard.minesNum;
    }

    // called every frame, uncomment this function to activate update callback
    // update: function (dt) {

    // },
});
